home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’93 / String Extractor⁄Localization / Scanner / Input < prev    next >
Encoding:
Text File  |  1993-06-18  |  295 b   |  25 lines  |  [TEXT/KAHL]

  1. #include "foo.h"
  2.  
  3. /*
  4.  * This is an "example"
  5.  */
  6.  
  7. void
  8. main ( void ) {
  9.     printf ( "%s\nFoo" , foo ? foo : "foo\\" ) ;
  10.     // "literal" means string constant
  11. }
  12.  
  13.  
  14. void
  15. foom ( void ) {
  16.     char c = '\"' ;
  17. }
  18.  
  19.  
  20. char * array [ ] = {
  21.     "\PA pascal string" ,
  22.     "\pAnother pascal string" ,
  23.     "\120\1Moofie!" ,
  24. } ;
  25.